Smart Order Management And Application Level Sharding

ABSTRACT

A method for sharding a store order database and order management application is provided. The method may include a computer router associated with a store receiving, from a customer computer, a query regarding an order. The router may use resident shard determination logic to identify a database shard which pertains to the order and which is part of a store order database having multiple database shards. The router may transmit information regarding the order to a database server which implements the identified database shard and which implements an order management system application layer. The database server may process information regarding the order and transmit information regarding the order to the customer computer.

BACKGROUND INFORMATION

1. Field of the Disclosure

The present invention relates to online shopping and order management.In particular, examples of the present invention relate to a system toincrease bandwidth for receiving customer orders and to reduce latencyand improve customer satisfaction in placing orders and in interactingwith a store order management system.

2. Background

There are many benefits to using computer and internet technology; bothfor customers and for stores. Properly executed, internet technologiescan provide additional venues for communicating with customers and canincrease sales and revenue for a store. Many stores desire to allowcustomers to make, view, and manage orders via the internet in additionto making purchases from the store.

BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting and non-exhaustive embodiments of the present invention aredescribed with reference to the following figures, wherein likereference numerals refer to like parts throughout the various viewsunless otherwise specified.

FIG. 1 is a schematic illustrating a computer system in context of anorder management system.

FIG. 2 is a schematic illustrating additional aspects of the computersystem.

FIGS. 3, 4, and 5 are schematics illustrating various aspects ofdatabase shards forming part of the computer system.

FIG. 6 is a schematic illustrating example components of the router.

FIG. 7 is a schematic illustrating example components of a server.

Corresponding reference characters indicate corresponding componentsthroughout the several views of the drawings. Skilled artisans willappreciate that elements in the figures are illustrated for simplicityand clarity and have not necessarily been drawn to scale. For example,the dimensions of some of the elements in the figures may be exaggeratedrelative to other elements to help to improve understanding of variousembodiments of the present invention. Also, common but well-understoodelements that are useful or necessary in a commercially feasibleembodiment are often not depicted in order to facilitate a lessobstructed view of these various embodiments of the present invention.

DETAILED DESCRIPTION

In the following description, numerous specific details are set forth inorder to provide a thorough understanding of the present invention. Itwill be apparent, however, to one having ordinary skill in the art thatthe specific detail need not be employed to practice the presentinvention. In other instances, well-known materials or methods have notbeen described in detail in order to avoid obscuring the presentinvention.

Reference throughout this specification to “one embodiment”, “anembodiment”, “one example” or “an example” means that a particularfeature, structure or characteristic described in connection with theembodiment or example is included in at least one embodiment of thepresent invention. Thus, appearances of the phrases “in one embodiment”,“in an embodiment”, “one example” or “an example” in various placesthroughout this specification are not necessarily all referring to thesame embodiment or example. Furthermore, the particular features,structures or characteristics may be combined in any suitablecombinations and/or sub-combinations in one or more embodiments orexamples. In addition, it is appreciated that the figures providedherewith are for explanation purposes to persons ordinarily skilled inthe art and that the drawings are not necessarily drawn to scale.

Embodiments in accordance with the present invention may be embodied asan apparatus, method, or computer program product. Accordingly, thepresent invention may take the form of an entirely hardware embodiment,an entirely software embodiment (including firmware, resident software,micro-code, etc.), or an embodiment combining software and hardwareaspects that may all generally be referred to herein as a “module” or“system.” Furthermore, the present invention may take the form of acomputer program product embodied in any tangible medium of expressionhaving computer-usable program code embodied in the medium.

Any combination of one or more computer-usable or computer-readablemedia may be utilized. For example, a computer-readable medium mayinclude one or more of a portable computer diskette, a hard disk, arandom access memory (RAM) device, a read-only memory (ROM) device, anerasable programmable read-only memory (EPROM or Flash memory) device, aportable compact disc read-only memory (CDROM), an optical storagedevice, and a magnetic storage device. Computer program code forcarrying out operations of the present invention may be written in anycombination of one or more programming languages.

Embodiments may also be implemented in cloud computing environments. Inthis description and the following claims, “cloud computing” may bedefined as a model for enabling ubiquitous, convenient, on-demandnetwork access to a shared pool of configurable computing resources(e.g., networks, servers, storage, applications, and services) that canbe rapidly provisioned via virtualization and released with minimalmanagement effort or service provider interaction, and then scaledaccordingly. A cloud model can be composed of various characteristics(e.g., on-demand self-service, broad network access, resource pooling,rapid elasticity, measured service, etc.), service models (e.g.,Software as a Service (“SaaS”), Platform as a Service (“PaaS”),Infrastructure as a Service (“IaaS”), and deployment models (e.g.,private cloud, community cloud, public cloud, hybrid cloud, etc.).

The flowchart and block diagrams in the flow diagrams illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It will also be notedthat each block of the block diagrams and/or flowchart illustrations,and combinations of blocks in the block diagrams and/or flowchartillustrations, may be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions. These computerprogram instructions may also be stored in a computer-readable mediumthat can direct a computer or other programmable data processingapparatus to function in a particular manner, such that the instructionsstored in the computer-readable medium produce an article of manufactureincluding instruction means which implement the function/act specifiedin the flowchart and/or block diagram block or blocks.

The disclosure particularly describes how to improve bandwidth forallowing customers to place orders over the internet and to view andmanage those orders over the internet. Particularly, the presentdisclosure describes how a computer system may be used to shard theapplication level software for an order management system to provideincreased bandwidth for customer orders and to reduce latency andconflicts for a customer who is using the order management system.

Many retailers desire to provide online ordering and order managementfor customers. These systems, however, are able to serve a limitednumber of customers before becoming taxed to a point where customers arenot able to place or manage orders without significant delay or withoutsignificant conflicts and technical problems in placing an order. Someretailers will experience a massive increase in the number of customersand online orders during particular periods of the year, such asholidays. As online ordering has become much more commonplace,particular retailers may experience tens of thousands of customer visitsper minute and thousands of potential orders per minute. Current ordermanagement systems cannot handle such a load. Traditional order,inventory and returns management systems operate on a single database.This is primarily because customer sales orders are very closely relatedto inventory supply, availability, smart sourcing and customer returns.

Referring to FIG. 1, a computer system is utilized to provide an ordermanagement system for a store which is able to handle tens of thousandsof online orders per minute for sustained periods of time. The computersystem includes a sharded order database along with a sharded ordermanagement application layer, database management, router, and sharddetermination logic which allow sharding of a transactional databasesuch as an order database. Traditionally, transactional databases havebeen monolithic databases due to the differing demands of transactionaldatabase compared to an informational database. A customer 10 may use acomputer 14 to order products from a store 18. The store 18 may maintaina website 22 to allow customers 10 to order products online and thenpick up the products at the store or have the products delivered totheir home. The website 22 may be hosted by a store computer or serversystem 26 which forms an order management system. The customer computer14 and the store server system 26 may be connected and enabled tocommunicate via the internet 30.

In many situations, a conventional store server would be able to handlethe demands of customers 10 placing orders online and otherwiseinteracting with the server. A conventional order management systemincludes a single database which handles order, inventory, and returnsdue to the close relationship between these. For most stores, aconventional server may be sufficient. In some situations, however, aconventional server is not sufficient and may be replaced by an ordermanagement system 26 according to the present invention. For example,Walmart.com receives a significant amount of customer traffic duringregular parts of the year. This customer traffic may include customersplacing orders as well as customers later checking on order status,performing a return, etc. During holidays such as Christmas Walmart.commay receive upwards of 10,000 orders per minute for sustained periods oftime. This high amount of customer orders combined with additionalinstances of customers checking on orders, etc. cannot be sustained by aconventional store server. As order volume grows exponentially, adifferent set of problems arise: heavy database contentions, long DBlock times, slow inventory supply processing, slower inventoryreservations, slower inventory availability calls, and slower orderprocessing, and these problems plague a traditional order database.Massive numbers of orders also brings additional risk if a singlemonolithic database handles complex processing of many orders.

Referring to FIG. 2, a store order management system 26 may include oneor more web servers 34 which host a store website 22 and provide a webportal through which a customer may place an online order with the store18 or otherwise manage an account with a store 18. In some instances,the customer may be a vender who provides goods to the store and managesorders, returns, etc. as a client of the order management system 26. Theweb server 34 may facilitate the collection and presentation ofinformation to a customer 10 in the process of interacting with thecustomer during shopping experiences. The server 34 may communicate withthe customer 10 via a customer computer 14 and via the internet 30 orother communication systems. The customer computer 14 may be one of avariety of different electronic devices such as a smart phone, tabletcomputer, laptop, personal computer, etc. The customer 10 may use acomputer 14 to provide information to the server 34 and to receiveinformation from the server 34 in the context of online shopping andorder management with the store 18.

The computer system 26 may also include other computing devices.Particularly, the system may include a router 38 which controls the flowof information to multiple database servers 42. Each of the multipledatabase servers 42 includes a shard 50 of a larger overall orderdatabase. The router 38 includes shard determination logic 46 which isused to determine which database server 42 (i.e. which database shard50) should be accessed with regards to a particular customer request(i.e. a customer order, order lookup, return, etc.). The sharddetermination logic 46 may be present on the router 38 in the form ofsoftware or firmware. The router 38 may be implemented as a server whichis configured to operate as a router or as a dedicated, single-purposehardware router. In some instances, a single server may implement thefunctionality of both a web server/ customer portal and a router.

Each database server 42 includes a database shard 50 which is part of alarger overall database that forms the store order database.Additionally, each database server 42 includes an order managementsystem (OMS) application layer 54. The OMS application is distributedamong the different database servers 42 such that each individualdatabase server 42 executes the OMS application. The order managementsystem 26 is thus sharded at the application level which each databaseserver 42 running an instance of the OMS application software 54. Eachdatabase server 42 thus may operate independently in communicating witha particular customer to receive information from the customer and toprovide information to the customer.

The customer computer 14 may be used to send and receive orderinformation associated with one or more orders placed with the store 18.The software, hardware, and associated components of a computer systemmay be programmed and configured to implement one or more embodimentsdescribed herein. Customers 10 may communicate with a store web server34 via a network connection or internet connection, internet 30, andwebpage 22 to place orders with the store 18 and to manage orders withthe store.

To participate in online or computer assisted shopping with the store,customers 10 may be invited to create an account with the store.Customers 10 who desire a store account will provide customerinformation such as identifying information, password information,contact information, etc. The store may store customer information in anelectronic record associated with the customer 10 in a customerdatabase, such as in web server 34. The server 34 may store informationregarding the customer 10 and regarding customer preferences in thecontext of a customer account created by the customer. The server 34 maythus store contact information for the customer 10 (or for theelectronic device 14 used by the customer and associated with thecustomer account). The server 34 may also store customer purchasehistory and purchase information associated with the customer 10.

The computer 14 (smart phone, tablet computer, laptop, desktop computer,etc.) typically includes a body or case which houses internal electronics such as a processor, storage, memory, battery, communications device,etc. The computer 14 includes a user interface such as screen, keyboard,mouse, etc. The various components of the computer 14 allow the computer14 to perform the functions and display the data discussed herein.

The customer 10 may use the computer 14 to transmit order information tothe server 10. The customer may log into a customer account at a storewebpage 22 in order to place or manage an order. In placing an order,the customer may select items for purchase, select a shipping method anddestination, and pay for the order. The customer may also manage orders.The customer may enter an order number or otherwise select an orderwhich they have placed in the past and may perform subsequent tasks withthat order. The customer may view order status to determine if the orderhas shipped, view delivery status, initiate a return for an item on theorder, etc. The customer may perform these tasks via the computer 14 andvia the webpage 22 and web server 34. The customer 10 may also receiveinformation from the store via the computer 14.

The order management system 26 may receive information from the customercomputer 14 and may provide information to the customer computer 14. Inproviding a system 26 which utilizes a sharded OMS application 54 and asharded database 50, the system 26 functions in a way which istransparent to the customer 10.

The web server 34 may provide a communications portal with the customeras it receives information from and provides information to the customer10 via an internet browser or the like. The router 38 routes informationto and from an appropriate database server 42 which is housing a shardof the overall store order database. The router 38 includes sharddetermination logic 46 in the form of software or firmware to determinewhich shard (and thus which database server 42) should transmit/receiveinformation in communicating with the customer. The use of a router 38with shard determination logic 46 keeps the shard determination logicoutside the database boundary. Sharding logic outside the databaseensures that the processing of orders is not impacted by systemmaintenance, although the maintenance will be challenging, as it has toco-exist with the complexity of logical separation of orders.

Customer requests will always be intercepted by a routing layer 38,which will determine the appropriate shard 50 using the data in thecustomer request. Shard determination logic 46 is responsible for thereliability of the identification. One of the advantages of suchmechanism is the ability to horizontally scale the complete database andOMS application to support the load and volume of a particular retailer.One particular challenge is to maintain the consistency of servicesoffered by each of the shards 50. Any post production fixes and updatesto the OMS application layer 54 or database will need to be managed wellto make sure that each of these app shards are reflecting the sameversion of fix or code. One of the performance benefits of thismechanism is that it improves the reads and writes in a specificapplication exponentially. The only additional overhead injected by thesystem 26 is that the read or write for a particular customer requestwill need to go through the shard determination logic 46. It is thusadvantageous to keep the shard determination logic 46 light.

For new orders being placed by a customer, the shard determination logic46 may use different determination methods. A random determinationmethod may provide that every order is randomly routed to each of theshards 50. A round robin (dynamic, weighted) determination may providethat every order is distributed round robin fashion into the shards 50such that a first order goes to the first shard, the second order goesto the second shard and so on. A modulo determination provides that thedetermination of the shard for an order is done by modulo operation onthe sequence of the order. The result of (a−(n*int(a/n))) is the shardnumber for an order n. A predictive/logical shard determination methodmay be used whereby the data within an order is used by the sharddetermination logic 46 to select the shard 50. For example all ordersfrom California goes to shard one or all store order goes to shard twoetc.

As a customer 10 may have on order history with many different existingor past orders, different existing orders pertaining to a singlecustomer may be located in different database shards 50 and thusdifferent database servers. A web server 34 may store customer accountswhich include order information. Each order may be identified by anorder identification number. The order may also include information toidentify a database shard 50 on which that particular order may bestored. Such shard identifying information may be a data fieldassociated with an order, or may be part of the order identificationnumber itself; such as being an alphanumeric digit which is part of theorder number, such as the first digit in the order number. A customer 10may select an order in a customer account and the router 38 maydetermine which database shard 50 is associated with the selected order.Thus, the order management system 26 may draw order information frommultiple database shards 50 while providing information to a customer.

The database server 42 may receive information regarding an order andmay process or analyze the information. The server 42 may query aproduct database and other necessary databases in handling ordertransactions. The server 42 may save purchase data in a database recordassociated with the customer 10 in the database shard 50.

Referring now to FIG. 3, database shards may be managed to reduce theload on the router 38 and the shard determination layer 46 to therebypromote a system which does not have a heavy overhead or unnecessarilyaffect the speed of communications between a customer computer 14 and adatabase shard 50. FIG. 3 shows three database shards 50A, 50B, 50C inan order management system 26. FIG. 4 shows a single shard 50 in greaterdetail. Each database shard 50 is typically implemented among an arrayof hard drives on a database server 42. Each database shard 50 includesa used portion 58, and an unused portion 62 representing availablecapacity in the shard. The unused portion 62 of the shard 50 includes abuffer capacity 66 which is necessary for the shard to perform read,write, and buffering operations during normal operation of the databaseserver 42. The unused portion 66 of the shard 50 includes an availablestorage capacity 70 which has a storage capacity equal to the unusedshard capacity 62 minus the buffer capacity 66.

In operation, the router 38 and shard determination logic 46 willdistribute customer order data among the shards 50 so that the shards 50have similar used capacities 58 and unused capacities 62. The shard keymay have a shard number (such as SH-1) which avoids the use of lookuptables or other more complex manners of the shard determination logic 46determining a particular shard 50. In this manner, the router 38 andshard determination logic 46 operate with minimal intrusion into thecommunication between customer computer 14 and database server 42. Theorder management system (such as an individual database server 42) maymonitor the order data stored on each shard 50. As past orders getolder, they will reach an age where items from an order are no longerreturnable. Orders which are no longer returnable typically no longerhave a need to be modified. When an order is no longer returnable, adatabase server 42 may transmit the order data to an archive server 74(which may include an order management archive application layer 78 anddatabase storage 82) and the archive server 74 may store the orderinformation. The database server 42 may then delete the orderinformation from the shard 50. This will maintain the size of the useddata 58 on the database shard 50 to a steady state quantity of data andremove old order data from the active OMS sharded database. The steadystate amount of used data 58 on a shard 50 will equal the number oforders per day times the number of days until an order is not returnabledivided by the number of shards 50. The size of the used data 58 on ashard 50 will thus grow with current order volume rather than with pastorder quantity.

As order volume grows, the used data 58 on a shard 50 will grow and theavailable capacity 62 on the shard 50 will diminish. The ordermanagement system 26 will monitor the available capacity 62 on theshards 50. This may be performed by the database servers 42. A thresholdof necessary available capacity 70 may be set, such as 180 days. Whenthe available capacity 62 is greater than the necessary capacity 70 for180 days of operation plus the necessary buffer capacity 66 the shard 50is operating with sufficient storage capacity. When the availablecapacity 62 is reduced to where the available capacity is equal to orless than the necessary storage capacity 70 for 180 days of operation(i.e. the threshold) plus the buffering capacity 66, the database server42 or order management system 26 may signal that it is necessary to addan additional database server 42 and database shard 50.

Referring now to FIG. 4, a new shard 50D may thus be added to the system26. The new shard 50D will be empty, and will be added as part of a newdatabase server 42 with includes the shard 50 and OMS application layer54. Once a new shard 50D is added to the system 26, the sharddetermination logic is modified to address the new shard 50D along withthe existing shards 50A, 50B, 50C. The router 38 and shard determinationlogic 46 will thus distribute new orders among all shards 50. The oldshards 50A, 50B, 50C will thus receive a reduced amount of orders(approximately equal to N/(N+1) where N is the old number of shards) dueto the presence of the new shard. This will thus reduce the necessaryorder capacity 70 and allow the shards 50 to operate at an acceptablecapacity level without moving any data from the shard 50. Additionally,the used capacity 58 on an old shard 50A, 50B, 50C will naturallydiminish and the available capacity 62 will increase as older orders arearchived to the archive server 74. Thus, the used capacity 58 on an oldshard 50A, 50B, 50C will be reduced to a new steady state level(reflecting the current order volume and the current number of shards 50with the new shard 50D) after a period of time equal to the time periodfor archiving old orders to the archive server 74 (i.e. the time periodafter which orders cannot be returned). In this manner, the old shards50A, 50B, 50C are naturally brought back down below their maximum usedcapacity/minimum free space threshold and there is no need to transferorder data between shards to balance the system. After a time periodequal to the archiving time threshold for old orders, each shard 50 inthe system 26 will be balanced. FIG. 5 shows such a state where eachshard 50A, 50B, 50C, 50D is balanced.

This system 26 significantly improves performance. Since active orderdata is never moved between shards, the shard determination logic 46does not need excessive complexity to track/determine order data and thesharded database does not increase the time for communications between acustomer computer 14 and a database server 42 or archive server 74. Theshard determination logic 46 may route new orders between shards 50.Order information may itself indicate a database shard (such as by usinga shard number as a particular digit in the order number or placing theshard number in a data field associated with the order) and old orders(orders over a predetermine time period such as the time period forreturn) may be automatically moved to an archive server 74 and the sharddetermination logic may automatically determine that an old order is inthe archive server 74 by date or the shard identification dataassociated with the order may be modified at this point.

Referring now to FIG. 6, a schematic illustrating example components ofthe router 38 is shown. As discussed, the router 38 may be a programmedcomputer or a dedicated hardware implementation. The router 38 includesa processing device 86, a user interface 90, a communication device 94,and a memory device 98. It is noted that the router 38 can include othercomponents and some of the components are not required.

The processing device 86 can include memory, e.g., read only memory(ROM) and random access memory (RAM), storing processor-executableinstructions and one or more processors that execute theprocessor-executable instructions. In embodiments where the processingdevice 86 includes two or more processors, the processors can operate ina parallel or distributed manner. The processing device 86 can executethe operating system of the router 38. In one example, the processingdevice 86 may also executes a software module 102 and a sharddetermination module 106 (which includes the shard determination logic46).

The user interface 90 is a device that allows a user to interact withthe router 38. While one user interface 90 is shown, the term “userinterface” can include, but is not limited to, a touch screen, aphysical keyboard, a mouse, etc. The communication device 94 is a devicethat allows the router 38 to communicate with another device, e.g., theservers 42 and 74. The communication device 94 can include one or morewireless transceivers for performing wireless communication and/or oneor more communication ports for performing wired communication. Thememory device 98 is a device that stores data generated or received bythe router 38. The memory device 98 can include, but is not limited to,a hard disc drive, an optical disc drive, and/or a flash memory drive.

The shard determination module 106 allows router 38 to analyzeinformation regarding a query from a customer computer 14 (which may bea new order or a request to view or modify an existing order) and toidentify a shard 50 pertaining to that order. The shard determinationmodule 106 also allows the router 38 to execute one or more other tasksas discussed herein. Particularly, the shard determination module 106facilitates the communication between the computer 14, router 38 andserver 42 or server 74.

A computer in the order management system may store a customer database.In some instances, the router 38 or a web server 34 or a dedicatedcustomer database server may store a customer database. The customerdatabase may store information regarding specific customers, such ascustomer account information, customer contact information andpreferences, customer order history, etc. The customer database may bequeried by various devices in the order management system to record orretrieve information regarding customer orders.

Referring now to FIG. 7, a schematic illustrating example components ofa server 42 is shown. The server 42 may be programmed to perform one ormore functions at the request of the router 38 and, according to variouscomputing models, may execute some or all of the functions associatedwith operation of the order management system 26. The server 42 mayinclude a processing device 110, a communication device 114, and amemory device 118.

The processing device 110 can include memory, e.g., read only memory(ROM) and random access memory (RAM), storing processor-executableinstructions and one or more processors that execute theprocessor-executable instructions. In embodiments where the processingdevice 110 includes two or more processors, the processors can operatein a parallel or distributed manner. In the illustrative embodiment, theprocessing device 110 executes aspects of the order management system26.

The communication device 114 is a device that allows the server 42 tocommunicate with another device, e.g., the router 38. The communicationdevice 114 can include one or more wireless transceivers for performingwireless communication and/or one or more communication ports forperforming wired communication.

The memory device 118 is a device that stores data generated or receivedby the server 42. The memory device 118 can include, but is not limitedto a hard disc drive, an optical disc drive, and/or a flash memorydrive. Further, the memory device 118 may be distributed and locatedacross multiple disc drives. The memory device 118 is accessible to theprocessing device 110. In some embodiments, the memory device 110 storesdata such as order management system software 122 and an order databaseshard 50.

In some embodiments, the database shard 50 can store informationassociated with customer orders such as products, UPC codes,descriptions, prices, etc. The database shard 50 may be queried by theprocessing device 110 and may provide information to the processingdevice to facilitate the operation of an order management system 26. Anarchive server 74 may have similar components as a database server 42.

The system is advantageous as it provides an order management systemwhich can accommodate massive order volumes such as tens of thousands oforders per minute without the overloading, delays, and loss of bandwidthto take orders that happen with a conventional system. The ordermanagement application layer, shard determination logic, and databasemanagement techniques allow a transactional database to be sharded andallow the transactional database to be maintained at an operationalsize. The system can be implemented on existing servers and istransparent to customers.

The above description of illustrated examples of the present invention,including what is described in the Abstract, are not intended to beexhaustive or to be limitation to the precise forms disclosed. Whilespecific embodiments of, and examples for, the invention are describedherein for illustrative purposes, various equivalent modifications arepossible without departing from the broader spirit and scope of thepresent invention. Indeed, it is appreciated that the specific examplevoltages, currents, frequencies, power range values, times, etc., areprovided for explanation purposes and that other values may also beemployed in other embodiments and examples in accordance with theteachings of the present invention.

What is claimed is:
 1. A computer implemented method comprising: acomputer router associated with a store receiving, from a customercomputer, a query regarding an order to purchase an item from the store;the router using shard determination logic which is resident on therouter to identify a database shard which is part of a store orderdatabase having multiple database shards and which pertains to theorder; the router transmitting information regarding the order to adatabase server which implements the identified database shard and whichimplements an order management system application layer; the databaseserver processing information regarding the order; the database servertransmitting information regarding the order to the customer computer.2. The method of claim 1, wherein the method more specificallycomprises: a computer router associated with a store receiving, from acustomer computer, an order to purchase an item from the store; and therouter using shard determination logic which is resident on the routerto identify a database shard which pertains to the order based on acharacteristic of the items which are ordered by the customer.
 3. Themethod of claim 1, wherein the method more specifically comprises: acomputer router associated with a store receiving, from a customercomputer, an order to purchase an item from the store; and the routerusing shard determination logic which is resident on the router toidentify a database shard which pertains to the order based on acharacteristic of the customer.
 4. The method of claim 1, wherein themethod more specifically comprises: a computer router associated with astore receiving, from a customer computer, a request for informationregarding a previous order to purchase an item from the store made bythe customer; and the router using shard determination logic which isresident on the router to identify a database shard which pertains tothe order based on a characteristic of the items which are ordered bythe customer.
 5. The method of claim 1, wherein the method morespecifically comprises: a computer router associated with a storereceiving, from a customer computer, a request for information regardinga previous order to purchase an item from the store made by thecustomer; and the router using shard determination logic which isresident on the router to identify a database shard which pertains tothe order based on a characteristic of the customer.
 6. The method ofclaim 1, wherein the method more specifically comprises: a computerrouter associated with a store receiving, from a customer computer, arequest for information regarding a previous order to purchase an itemfrom the store made by the customer; and the router using sharddetermination logic which is resident on the router to identify adatabase shard which pertains to the order based on shard identificationdata which is appended to order data for the order.
 7. The method ofclaim 1, wherein the method comprises: the database server identifyingorders on the shard which are older than a predetermined age threshold;the database server transmitting information for orders on the shardwhich are older than the predetermined age threshold to an archiveserver; and the database server deleting information for orders on theshard which are older than the predetermined age threshold.
 8. Themethod of claim 1, wherein the method comprises; monitoring availablecapacity in the database shard; comparing available capacity in thedatabase shard to a threshold which represents a buffer capacity and adata storage capacity necessary for a predetermined time period ofoperation; identifying when the available capacity in the database shardis less than or equal to the threshold; and adding an additionaldatabase server and additional database shard when the availablecapacity in the database shard is less than or equal to the threshold.9. The method of claim 8, wherein the method comprises: distributing neworders equally among old database shards and the additional databaseshard; an old database server identifying orders on the shard which areolder than a predetermined age threshold; the old database servertransmitting information for orders on the shard which are older thanthe predetermined age threshold to an archive server; and the olddatabase server deleting information for orders on the shard which areolder than the predetermined age threshold; and automatically balancingused capacity on the additional database shard with used capacity on theold database shard as old orders on the old database shard are moved tothe archive server.
 10. A computer system comprising: a computer routerassociated with a store programmed to: receive, from a customercomputer, a query regarding an order to purchase an item from the store;use shard determination logic which is resident on the router toidentify a database shard which is part of a store order database havingmultiple database shards and which pertains to the order; transmitinformation regarding the order to a database server which implementsthe identified database shard and which implements an order managementsystem application layer; a database server programmed to: processinformation regarding the order; and transmit information regarding theorder to the customer computer.
 11. The system of claim 10, wherein therouter is more specifically programmed to: receive, from a customercomputer, an order to purchase an item from the store; and use sharddetermination logic which is resident on the router to identify adatabase shard which pertains to the order based on a characteristic ofthe items which are ordered by the customer.
 12. The system of claim 10,wherein the router is more specifically programmed to: receive, from acustomer computer, an order to purchase an item from the store; and useshard determination logic which is resident on the router to identify adatabase shard which pertains to the order based on a characteristic ofthe customer.
 13. The system of claim 10, wherein the router is morespecifically programmed to: receive, from a customer computer, a requestfor information regarding a previous order to purchase an item from thestore made by the customer; and use shard determination logic which isresident on the router to identify a database shard which pertains tothe order based on a characteristic of the items which are ordered bythe customer.
 14. The system of claim 10, wherein the router is morespecifically programmed to: receive, from a customer computer, a requestfor information regarding a previous order to purchase an item from thestore made by the customer; and use shard determination logic which isresident on the router to identify a database shard which pertains tothe order based on a characteristic of the customer.
 15. The system ofclaim 10, wherein the router is more specifically programmed to:receive, from a customer computer, a request for information regarding aprevious order to purchase an item from the store made by the customer;and use shard determination logic which is resident on the router toidentify a database shard which pertains to the order based on shardidentification data which is appended to order data for the order. 16.The system of claim 10, wherein the database server is more specificallyprogrammed to: identify orders on the shard which are older than apredetermined age threshold; transmit information for orders on theshard which are older than the predetermined age threshold to an archiveserver; and delete information for orders on the shard which are olderthan the predetermined age threshold.
 17. The system of claim 10,wherein the order management system application layer is executable to:monitor available capacity in the database shard; compare availablecapacity in the database shard to a threshold which represents a buffercapacity and a data storage capacity necessary for a predetermined timeperiod of operation; identify when the available capacity in thedatabase shard is less than or equal to the threshold; and indicate theaddition of an additional database server and additional database shardwhen the available capacity in the database shard is less than or equalto the threshold.
 18. The system of claim 17, wherein the ordermanagement system application layer is executable to: distribute neworders equally among old database shards and the additional databaseshard; identify orders on an old database shard which are older than apredetermined age threshold; transmit information for orders on the olddatabase shard which are older than the predetermined age threshold toan archive server; deleting information for orders on the old databaseshard which are older than the predetermined age threshold; andautomatically balance used capacity on the additional database shardwith used capacity on the old database shard as old orders on the olddatabase shard are moved to the archive server.